project(dip_ex3)
cmake_minimum_required(VERSION 3.5)

# 设置指定的C++编译器版本是必须的，如果不设置，或者为OFF，则指定版本不可用时，会使用上一版本。
set(CMAKE_CXX_STANDARD_REQUIRED ON)

# 指定为C++11 版本
set(CMAKE_CXX_STANDARD 11)

find_package(OpenCV REQUIRED)
MESSAGE(${OpenCV_LIBS})
set(CMAKE_BUILD_TYPE Debug)
include_directories(
    ./include
    ${OpenCV_INCLUDE_DIRS}
)

#aux_source_directory(src SRC)
#message(STATUS "SRC_FILES:${SRC}")

add_executable(ex3 src/dip_ex3.cpp)
target_link_libraries(ex3 ${OpenCV_LIBS})